package io.hxci.modules.stu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 加分类别
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "eval_type")
public class EvalType {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 上级类别ID，一级类别为0
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 类别名称
     */
    @TableField(value = "name")
    private String name;

    @TableField(value = "type")
    private String  type;

    /**
     * 排序
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     * 分数
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 负分 ：-1，正分 ：1，删除：0
     */
    @TableField(value = "del_flag")
    private Integer delFlag;
}